x86/asm: Clobber %r{8..15} on exit to 32bit PV guests
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 13 Apr 2017 09:51:44 +0000 (10:51 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 5 May 2017 08:54:29 +0000 (09:54 +0100)
commita5f4edebac284ca50926272093b4aac9b9d12620
tree116f19ca55c86b742a6c9c2456b1b3244ab48bee
parentd6f07c640a520903a9c3832ad51628b19abacfdb
x86/asm: Clobber %r{8..15} on exit to 32bit PV guests

In the presence of bugs such as XSA-214 where a 32bit PV guest can get its
hands on a long mode segment, this change prevents register content leaking
between domains.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Release-acked-by: Julien Grall <julien.grall@arm.com>
xen/include/asm-x86/asm_defns.h